//分仓库中遇到的所有state都是分仓库的数据!!!!
export default {
    state:{
        test:"amsg"
    },

    //分仓库中的getters,mutations,actions默认情况下还是注册在全局的!!!!
    getters:{},
    mutations:{
        updateA(state,msg){
            state.test=msg
        }
    },
    actions:{
        updateA(store,msg){
            console.log(store.state)
            store.commit("updateA",msg)
        }
    }
}